package kr.hkit.powerjava.chapter09;

class Point{
	private int x, y;  //좌표 점
	public Point(int a, int b){
		x = a;
		y = b;		
	}
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	
}

class Circle{
	private int radius;
	private Point center;
	
	public Circle(Point p, int r){
		center = p; //좌표점
		radius = r;	//반지름
	}

	public int getRadius() {
		return radius;
	}

	public void setRadius(int radius) {
		this.radius = radius;
	}

	public Point getCenter() {
		return center;
	}

	public void setCenter(Point center) {
		this.center = center;
	}
	
}

public class CircleTest {
	public static void main(String[] args) {
		Point p = new Point(37,73);
		Circle c = new Circle(p,7);
		
		
	}

}
